<!-- 账号与密码 -->
<template>
  <div class="name-pass">
      <el-card shadow="always" :body-style="{ padding: '0px' }" class="base">
      <div class="left">
          <span id="base-title">账号</span>
        <el-form ref="form" :model="callform" label-width="100px" class="base-form">
          <el-form-item label="用户名">
            <el-input v-model="form.name" ></el-input>
          </el-form-item>
          <el-form-item label="Email地址">
            <el-input v-model="form.email" ></el-input>
          </el-form-item>
          <el-form-item>
    <el-button type="warning">保存</el-button>
   
  </el-form-item>
        </el-form>
      </div>
    </el-card>
    <el-card shadow="always" :body-style="{ padding: '0px' }" class="base">
      <div class="left">
          <span id="base-title">密码</span>
        <el-form ref="form" :model="callform" label-width="100px" class="base-form">
          <el-form-item label="原密码">
            <el-input v-model="form.oldpass" ></el-input>
          </el-form-item>
          <el-form-item label="新密码">
            <el-input v-model="form.newpass" ></el-input>
          </el-form-item>
          <el-form-item label="确认新密码">
            <el-input v-model="form.renewpass" ></el-input>
          </el-form-item>
          <el-form-item>
    <el-button type="warning">保存</el-button>
   
  </el-form-item>
        </el-form>
      </div>
    </el-card>
  </div>
</template>

<script>
export default {
  data () {
    return {
      form:{
        name: "",
        email: "",
        oldpass: "",
        newpass: "",
        renewpass: "" 
      }
    };
  },

  methods: {}
}

</script>
<style lang='scss' scoped>
.name-pass{
  margin: 20px 200px;
  .base {
    position: relative;
    margin-top:50px;
    .left {
      width: 50%;
      padding:50px;
      #base-title{
          font-size:30px;
          font-weight: bold;
          letter-spacing: 3px;
      }
      .base-form{
          margin-top:50px;
      }
    }
  }
}
</style>